class Message {
  constructor(props) {
    this.id = +new Date() + '';
    this.type = props.conversationType;
    this.payload = props.payload;
    this.to = props.to;
    this.from = props.from;
  }
}

export default Message;
